﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MiniCPU.Entities;

namespace MiniCPU.Events
{
    /// <summary>
    /// Data Changed Event Handler delegate, receiving a sender object and Data Changed Event Args.
    /// </summary>
    public delegate void DataChangedEventHandler(object sender, DataChangedEventArgs e);

    /// <summary>
    /// Data Changed event args class.
    /// </summary>
    public class DataChangedEventArgs
    {
        /// <summary>
        /// Gets or sets the new value.
        /// </summary>
        /// <value>The new value.</value>
        public LimitedData NewValue { get; set; }
    }
}
